package com.nova.bluetooth.ui.ai.translate;

import com.google.gson.annotations.SerializedName;

/**
 * @Description TODO
 * @Author Administrator
 * @CreateTime 2024年05月14日 11:32:19
 */
public class LanguageSelectBean {
    public LanguageSelectBean(String languageCode, String languageName) {
        this.languageCode = languageCode;
        this.languageName = languageName;
    }

    public LanguageSelectBean(int webId,Integer type, String languageCode, String languageName) {
        this.type = type;  //类型 1语言 2方言
        this.languageCode = languageCode;
        this.languageName = languageName;
        this.webId = webId;
    }

    public LanguageSelectBean(int webId,String speakerCode, String speakerName,String languageCode, String languageName) {
        this.speakerCode = speakerCode;
        this.speakerName = speakerName;
        this.languageCode = languageCode;
        this.languageName = languageName;
        this.webId = webId;
    }

    @SerializedName("speakerCode")
    private String speakerCode = "x2_xiaojuan";
    @SerializedName("speakerName")
    private String speakerName = "讯飞小娟（免费）";

    public String getSpeakerCode() {
        return speakerCode;
    }

    public void setSpeakerCode(String speakerCode) {
        this.speakerCode = speakerCode;
    }

    public String getSpeakerName() {
        return speakerName;
    }

    public void setSpeakerName(String speakerName) {
        this.speakerName = speakerName;
    }

    private int webId ; //跟服务端语言id对应，关联语言id
    @SerializedName("type")
    private Integer type;
    @SerializedName("translationUsable")
    private Integer translationUsable;
    @SerializedName("identificationUsable")
    private Integer identificationUsable;
    @SerializedName("dictationUsable")
    private Integer dictationUsable;
    @SerializedName("languageCode")
    private String languageCode;
    @SerializedName("dictationLanguageCode")
    private String dictationLanguageCode;
    @SerializedName("dictationLanguageSubcode")
    private String dictationLanguageSubcode;
    @SerializedName("languageName")
    private String languageName;
    @SerializedName("broadcastContent")
    private String broadcastContent;

    public String getBroadcastContent() {
        return broadcastContent;
    }

    public void setBroadcastContent(String broadcastContent) {
        this.broadcastContent = broadcastContent;
    }

    public int getWebId() {
        return webId;
    }

    public void setWebId(int webId) {
        this.webId = webId;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Integer getTranslationUsable() {
        return translationUsable;
    }

    public void setTranslationUsable(Integer translationUsable) {
        this.translationUsable = translationUsable;
    }

    public Integer getIdentificationUsable() {
        return identificationUsable;
    }

    public void setIdentificationUsable(Integer identificationUsable) {
        this.identificationUsable = identificationUsable;
    }

    public Integer getDictationUsable() {
        return dictationUsable;
    }

    public void setDictationUsable(Integer dictationUsable) {
        this.dictationUsable = dictationUsable;
    }

    public String getLanguageCode() {
        return languageCode;
    }

    public void setLanguageCode(String languageCode) {
        this.languageCode = languageCode;
    }

    public String getDictationLanguageCode() {
        return dictationLanguageCode;
    }

    public void setDictationLanguageCode(String dictationLanguageCode) {
        this.dictationLanguageCode = dictationLanguageCode;
    }

    public String getDictationLanguageSubcode() {
        return dictationLanguageSubcode;
    }

    public void setDictationLanguageSubcode(String dictationLanguageSubcode) {
        this.dictationLanguageSubcode = dictationLanguageSubcode;
    }

    public String getLanguageName() {
        return languageName;
    }

    public void setLanguageName(String languageName) {
        this.languageName = languageName;
    }
}
